using System.Collections.Generic;
using System.Web.Security;

namespace IBS.ServiceContracts
{
    public interface IAdmissionService
    {
        bool UserWithSameNameExists(string login);
        bool UserWithSameEmailExists(string email);

        IList<string> GetUserRoles(string userName);
        MembershipUser CreateUser(string userName, string password, string email);
        void AddUserToRole(string userName, string role);
        IList<MembershipUser> GetAll();
    }
}